setAudioFadeOut

abstract fun setAudioFadeOut(block: DesignBlock, duration: Double, easing: AnimationEasingType = AnimationEasingType.LINEAR)

Set an audio fade-out for the given block. The audio ramps down from the block's volume to silence over the given duration at the end of the block.

Parameters

block

the audio block or video fill to update.

duration

the fade-out duration in seconds. Negative values are clamped to 0, which disables the fade-out.

easing

the easing curve of the fade.